import type { GetRolePermissionList } from "./roleModel";

export interface AddOrUpdatePermissionApiParams {
  children: GetRolePermissionList;
  code: string;
  gmtCreate?: string;
  gmtModified?: string;
  id: string;
  level: number;
  name: string;
  pid: string;
  select?: true;
  status?: number;
  toCode: string;
  type: number;
}
